package com.ruoyi.user.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消费记录对象 t_user_consume_detail
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
public class UserConsumeDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消费记录ID */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 提现ID */
    private Long userPayoutId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal consumptionPrice;

    /** 消费类型 */
    @Excel(name = "消费类型")
    private String consumptionType;

    /** 描述 */
    @Excel(name = "描述")
    private String consumptionDescribe;

    /** 逻辑删除（0=未删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserPayoutId(Long userPayoutId) 
    {
        this.userPayoutId = userPayoutId;
    }

    public Long getUserPayoutId() 
    {
        return userPayoutId;
    }
    public void setConsumptionPrice(BigDecimal consumptionPrice) 
    {
        this.consumptionPrice = consumptionPrice;
    }

    public BigDecimal getConsumptionPrice() 
    {
        return consumptionPrice;
    }
    public void setConsumptionType(String consumptionType) 
    {
        this.consumptionType = consumptionType;
    }

    public String getConsumptionType() 
    {
        return consumptionType;
    }
    public void setConsumptionDescribe(String consumptionDescribe) 
    {
        this.consumptionDescribe = consumptionDescribe;
    }

    public String getConsumptionDescribe() 
    {
        return consumptionDescribe;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("userId", getUserId())
            .append("userPayoutId", getUserPayoutId())
            .append("consumptionPrice", getConsumptionPrice())
            .append("consumptionType", getConsumptionType())
            .append("consumptionDescribe", getConsumptionDescribe())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
